import {createApp} from 'vue'
import App from './App.vue'
//引入路由相关文件
import router from '@/router'
//引入仓库进行注册
import {createPinia} from 'pinia'
//引入ElementPlus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
//引入MockServer.js----mock数据
import '@/mock/mockServe'
//引入插件
import imgLazy from '@/libs/img_lazyload'

createApp(App)
.use(createPinia())
.use(router)
.use(ElementPlus)
.use(imgLazy)
.mount('#app')
